<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <link rel="stylesheet" href="jQuery/login.css" type="text/css" />
    <style type="text/css">
        #header
        {
            color:black;
            font-size: 40px;
            border: 0px solid black;
            margin-left: 600px;
            line-height: 120px;
            height: 120px;
            font-family: '楷体';
        }
        #login_frame {
            width: 400px;
            height: 300px;
            position: absolute;
            left: 50%;
            top: 50%;
            margin-left: -200px;
            margin-top: -225px;
            background-color: rgba(240, 254, 255, 0.5);
            border-radius: 10px;
            text-align: center;
        }
    </style>
</head>
<div id="header">
    学生信息管理系统
</div>
<div id="login_frame">
    <h1 align="center" id="behave">登录</h1>
    <form action="student.do" method="post" align="center">
        <input type="hidden" name="opr" value="login" />
        姓名:&nbsp;&nbsp;&nbsp;<input class="text_field" type="text" name="name" required maxlength="20"> <br /><br />
        密码:&nbsp;&nbsp;&nbsp;<input class="text_field" type="password" name="password" required minlength="6" maxlength="6"> <br /><br />
        <input type="radio" name="role" id="dmale" value="用户" checked/><label for="dmale">用户</label>
        <input type="radio" name="role" id="dfemale" value="管理员" /><label for="dfemale">管理员</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(角色)<br/><br/>
        <input type="submit" value="登录">
        <a style="margin-left: 55px;padding: 2px;border: 1px solid purple" href="register.jsp" class="a">注册</a>
    </form>
</div>
</body>
</html>
